package com.yykj.order.center.server.exception;

/**
 * 请不要格式化代码
 * 系统状态码
 */
public enum ErrorCode {

	//通用错误码
    _7(7,"入参校验异常"),
	_8(8,"token不能为空"),
	_9(9,"请登录"),

    _504(504,"超时"),

	_1001(1001,"会诊记录不存在"),
    _1002(1002,"会诊医生不存在"),
    _1003(1003,"当前状态无法提交会诊建议"),
    _1004(1004,"群聊天创建失败"),
    _1005(1005,"获取医生信息失败"),
	;
	private int code;
	private String msg;

	ErrorCode(int code, String msg) {
		this.code = code;
		this.msg = msg;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

}